package com.cy.pj.sys.service;

import com.cy.pj.common.pojo.CheckBox;
import com.cy.pj.sys.pojo.SysRole;

import java.util.List;

public interface SysRoleService {
    List<SysRole> findRoles(SysRole sysRole);

    SysRole findById(Integer id);

    int saveRole(SysRole sysRole);

    int updateRole(SysRole sysRole);

    List<CheckBox> findCheckRoles();
}
